package com.dingwen.serializable.common.dto;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.http.HttpHeaders;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;
import java.util.Map;

/**
 * 请求dto
 *
 * @author dingwen
 * @date 2021/12/14
 */
@Slf4j
@Data
public class RequestDto implements Serializable {

    private static final long serialVersionUID = 5010682513419142177L;

    /**
     * 请求标识
     */
    private String id;
    private String channel;
    private String ferryType;
    private String filePath;

    /**
     * 请求客户端信息
     */
    private String clientIp;
    private String clientName;


    /**
     * 业务配置标识
     */
    private String tenantId;
    private String systemId;
    private String mapping;
    private String uri;
    private String baseUrl;

    /**
     * 请求信息
     */
    private String sessionId;
    private Timestamp sendTime;
    private HttpHeaders headers;

    private String method;
    private String contentType;
    private String accept;

    /**
     * 请求参数
     */
    private Map<String, Object> params;
    private Object body;
    private Map<String, List<FileDescribe>> files;
}

